﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PPSMS_Model
{
    /// <summary>
    /// 气象信息表
    /// </summary>
    public class WeatherInfo
    {
        /// <summary>
        /// Id 主键自增
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 时间戳
        /// </summary>
        public string? Timestamp { get; set; }
        /// <summary>
        /// 辐照度
        /// </summary>
        public double? Irradiance { get; set; }
        /// <summary>
        /// 温度
        /// </summary>
        public double? Temperature { get; set; }
        /// <summary>
        /// 湿度
        /// </summary>
        public double? Humidity { get; set; }
        /// <summary>
        /// 风速
        /// </summary>
        public double? Windspeed { get; set; }
    }
    /*CREATE TABLE IF NOT EXISTS WEATHER_INFO (
        ID INTEGER PRIMARY KEY AUTOINCREMENT,--ID
        TIMESTAMP TEXT,--时间戳
        IRRADIANCE REAL,--辐照度
        TEMPERATURE REAL,--温度
        HUMIDITY REAL,--湿度
        WINDSPEED REAL--风速
    );--气象信息表*/
}
